vt-d: Fixup when mapping devices on non-PCIe buses
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jul 2008 16:33:23 +0000 (17:33 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jul 2008 16:33:23 +0000 (17:33 +0100)
commit2075af1e293785e056b4e9f6287a0422af942370
treea780f3ebdd670ea3b938a0c704a29ccf6462ab55
parentd91284f8884f8645f301497658d447cde7bb00ae
vt-d: Fixup when mapping devices on non-PCIe buses

The source-id for transactions on non-PCIe buses seem to originate
from devfn=0 on the secondary bus behind the bridge.  Map that ID as
well when assigning the device.  The ID to use in these scenarios is
not particularly well documented anywhere.

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen/drivers/passthrough/vtd/iommu.c